﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CTP.CRM.Application.Dtos.OAuth
{
    public class LockedInfo
    {
        /// <summary>
        /// 重试次数
        /// </summary>
        public int RetryCount { get; set; }

        /// <summary>
        /// 锁定结束时间
        /// </summary>
        public DateTime LockEndTime { get; set; }

        /// <summary>
        /// 锁定次数
        /// </summary>
        public int LockedCount { get; set; }
    }

    public class LockedConfiguration
    {
        public int FirstRetryCount { get; set; }

        /// <summary>
        /// 分钟
        /// </summary>
        public int FirstLockTime { get; set; }

        public int SecondRetryCount { get; set; }

        /// <summary>
        /// 分钟
        /// </summary>
        public int SecondLockTime { get; set; }
    }
}
